package com.whminwei.edu.api.tchbase.dto.fspn;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 课程列表
 * @author zhangzf
 * @since 2024/6/25
 **/
@Data
@NoArgsConstructor
public class CourseFspn {
    @JsonValue
    private List<CourseBo> courseList;

    @JsonCreator
    public CourseFspn(List<CourseBo> courseList) {
        this.courseList = courseList;
    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class CourseBo {
        /**
         * 课程id
         */
        private String courseId;
        /**
         * 学科id
         */
        private String disciplineId;
        /**
         * 课程名称
         */
        private String courseName;
        /**
         * 考核形式
         */
        private List<String> assessmentForm;
        /**
         * 课程性质
         */
        private String courseKind;
        /**
         * 理论学时
         */
        private int theoreticalHours;
        /**
         * 实践学时
         */
        private int practicalHours;
    }
}
